package org.vic.mediator;

/**
 * Created by VIC.Huang on 2016/9/8.
 */
public class BadContinentalPattern {
    public static void main(String[] args) {
        School singletonSchool = new SingletonSchool();
        School commandSchool = new CommandSchool();
        School mediatorSchool = new MediatorSchool();

        singletonSchool.attack(mediatorSchool);
        commandSchool.attack(mediatorSchool);

        mediatorSchool.defense();
    }
}
